package com.bc.mes.mbg.mapper;

import com.bc.mes.mbg.model.dv.DvMachinery;
import com.bc.mes.mbg.model.dv.DvMachineryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DvMachineryMapper {
    int countByExample(DvMachineryExample example);

    int deleteByExample(DvMachineryExample example);

    int deleteByPrimaryKey(Long machineryId);

    int insert(DvMachinery record);

    int insertSelective(DvMachinery record);

    List<DvMachinery> selectByExample(DvMachineryExample example);

    DvMachinery selectByPrimaryKey(Long machineryId);

    int updateByExampleSelective(@Param("record") DvMachinery record, @Param("example") DvMachineryExample example);

    int updateByExample(@Param("record") DvMachinery record, @Param("example") DvMachineryExample example);

    int updateByPrimaryKeySelective(DvMachinery record);

    int updateByPrimaryKey(DvMachinery record);
}